import { http } from '@/utils/http'

export function useWorkVisaApi() {
  return {
    // 获得工程签证表格
    getEmploymentVisa(id: string) {
      return http.get<WorkVisaForm>('/prod-api/admin-api/project/employment-visa/get?id=' + id)
    },
    // 获得工程签证表格分页
    getEmploymentVisaPage(query: any) {
      return http.get<WorkVisaForm[]>('/prod-api/admin-api/project/employment-visa/page', query)
    }
  }
}
